package com.example.zqh.mapper;

import com.example.zqh.pojo.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqh
 * @since 2022-09-10
 */
public interface DeptMapper extends BaseMapper<Dept> {

    /**
      * @Author: zqh
      * @Date:
      * @Description: 获取所有部门的数量
    */
    Integer getDepthNumber();

    /**
      * @Author: zqh
      * @Date:
      * @Description: 分页查询部门
    */
    List<Dept> pagingQueryDepartment(Integer page,Integer size);

}
